<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        for($cont=1; $cont <= 20;$cont++)
   if(($cont % 2 ) == 0)
      echo "$cont ";
     
echo "\n";
        ?>
    </body>
</html>
